Optimal. Leaf size=49 \[ a^2 x+\frac {2}{3} a b x^3+\frac {1}{5} \left (b^2+2 a c\right ) x^5+\frac {2}{7} b c x^7+\frac {c^2 x^9}{9} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {1599, 1104}
\begin {gather*} a^2 x+\frac {1}{5} x^5 \left (2 a c+b^2\right )+\frac {2}{3} a b x^3+\frac {2}{7} b c x^7+\frac {c^2 x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1104
Rule 1599
Rubi steps
\begin {align*} \int \frac {\left (a x+b x^3+c x^5\right )^2}{x^2} \, dx &=\int \left (a+b x^2+c x^4\right )^2 \, dx\\ &=\int \left (a^2+2 a b x^2+b^2 \left (1+\frac {2 a c}{b^2}\right ) x^4+2 b c x^6+c^2 x^8\right ) \, dx\\ &=a^2 x+\frac {2}{3} a b x^3+\frac {1}{5} \left (b^2+2 a c\right ) x^5+\frac {2}{7} b c x^7+\frac {c^2 x^9}{9}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 49, normalized size = 1.00 \begin {gather*} a^2 x+\frac {2}{3} a b x^3+\frac {1}{5} \left (b^2+2 a c\right ) x^5+\frac {2}{7} b c x^7+\frac {c^2 x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 42, normalized size = 0.86
method | result | size |
default | \(a^{2} x +\frac {2 a b \,x^{3}}{3}+\frac {\left (2 a c +b^{2}\right ) x^{5}}{5}+\frac {2 b c \,x^{7}}{7}+\frac {c^{2} x^{9}}{9}\) | \(42\) |
risch | \(a^{2} x +\frac {2}{3} a b \,x^{3}+\frac {2}{5} a c \,x^{5}+\frac {1}{5} b^{2} x^{5}+\frac {2}{7} b c \,x^{7}+\frac {1}{9} c^{2} x^{9}\) | \(44\) |
gosper | \(\frac {x \left (35 c^{2} x^{8}+90 b c \,x^{6}+126 a c \,x^{4}+63 b^{2} x^{4}+210 a b \,x^{2}+315 a^{2}\right )}{315}\) | \(47\) |
norman | \(\frac {a^{2} x^{2}+\left (\frac {2 a c}{5}+\frac {b^{2}}{5}\right ) x^{6}+\frac {c^{2} x^{10}}{9}+\frac {2 a b \,x^{4}}{3}+\frac {2 b c \,x^{8}}{7}}{x}\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 41, normalized size = 0.84 \begin {gather*} \frac {1}{9} \, c^{2} x^{9} + \frac {2}{7} \, b c x^{7} + \frac {1}{5} \, {\left (b^{2} + 2 \, a c\right )} x^{5} + \frac {2}{3} \, a b x^{3} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 41, normalized size = 0.84 \begin {gather*} \frac {1}{9} \, c^{2} x^{9} + \frac {2}{7} \, b c x^{7} + \frac {1}{5} \, {\left (b^{2} + 2 \, a c\right )} x^{5} + \frac {2}{3} \, a b x^{3} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 48, normalized size = 0.98 \begin {gather*} a^{2} x + \frac {2 a b x^{3}}{3} + \frac {2 b c x^{7}}{7} + \frac {c^{2} x^{9}}{9} + x^{5} \cdot \left (\frac {2 a c}{5} + \frac {b^{2}}{5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.96, size = 43, normalized size = 0.88 \begin {gather*} \frac {1}{9} \, c^{2} x^{9} + \frac {2}{7} \, b c x^{7} + \frac {1}{5} \, b^{2} x^{5} + \frac {2}{5} \, a c x^{5} + \frac {2}{3} \, a b x^{3} + a^{2} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.02, size = 42, normalized size = 0.86 \begin {gather*} a^2\,x+x^5\,\left (\frac {b^2}{5}+\frac {2\,a\,c}{5}\right )+\frac {c^2\,x^9}{9}+\frac {2\,a\,b\,x^3}{3}+\frac {2\,b\,c\,x^7}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________